package lay
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.Sprite;
	import flash.geom.Rectangle;
	import myutils.LoadManager;
	import myutils.MyButton;
	
	import spark.primitives.Rect;

	public class StageChoose extends Sprite
	{
		public function StageChoose()
		{
			var bid:BitmapData = LoadManager.getInstance().getBitmapData("optionsMenu.png");
			var img:Bitmap = new Bitmap(bid);
			img.width = GameStart.WIDTH - 100;
			img.height = GameStart.HEIGHT - 100;
			
			
			var backGround:Sprite = new Sprite();
			backGround.addChild(img);
			backGround.x = 50;
			backGround.y = 50;
			
			var stage1:MyButton = new MyButton(100,30,"stage1");
			stage1.x = 100
			stage1.y = 100	
			backGround.addChild(stage1);
			addChild(backGround);
		}
		
	}
}